package com.account.common.enums;

public enum ChannelUserType {
    SUPER_ADMIN("00", "超级管理员", 1L),
    CHANNEL_ADMIN("01", "系统管理员", 100L),
    AGENT_1("10", "一级代理商", 200L),
    AGENT_2("11", "二级代理商", 201L),
    AGENT_3("12", "三级代理商", 202L),
    SCHOOL("20", "学校", 300L);

    private final String code;
    private final String name;
    private final Long roleId;

    ChannelUserType(String code, String name, Long roleId) {
        this.code = code;
        this.name = name;
        this.roleId = roleId;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }

    public Long getRoleId() {
        return roleId;
    }
}
